Skip to main content

as

Type

keyword

Summary

Used with the do command to specify a scripting language; used with the export command to specify the file format to export to; used with the go command to specify the mode of a stack; used with the save command to specify the file name and location.

Syntax

as

Description

Use the as keyword to modify the do, export, go, or save commands.

Use the alternateLanguages function to find out which languages can be used with the do as alternateLanguage command on Mac OS and OS X systems.

Examples

do field 1 as "Javascript"
export image "image" to file myFile as PNG
go stack "Controls" as palette
save this stack as "../Backups/Current.rev"

keyword: file

object: stack

command: export, go, do, save, do as alternateLanguage

control structure: function

function: format, alternateLanguages

glossary: keyword, file path, command, Mac OS, OS X

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

web

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?